let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n10,
                    i =
                    (this && this.__extends) ||
                    ((_n10 = function n(t, e) {
                            return (_n10 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n10(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.AbsBuff = o.BuffEvent = void 0);
                var r,
                    a = t('AbsObject'),
                    s = t('TimeMrg');
                (function(t) {
                    (t.Start = 'BuffEvent_Star'), (t.Stop = 'BuffEvent_Stop');
                })((r = o.BuffEvent || (o.BuffEvent = {})));
                var c = (function(t) {
                    function e(e) {
                        var o = t.call(this) || this;
                        return (o._id = e), (o._delayTime = 0), o;
                    }
                    return (
                        i(e, t),
                        (e.prototype.init = function() {}),
                        (e.prototype.setTime = function(t) {
                            (this._time = t), this.reset();
                        }),
                        Object.defineProperty(e.prototype, 'id', {
                            get: function get() {
                                return this._id;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'data', {
                            get: function get() {
                                return this._data;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (e.prototype.setActor = function(t) {
                            this._actor = t;
                        }),
                        (e.prototype.reset = function() {
                            this._runTime = s.TimeMrg.serverTime + 1e3 * this._time;
                        }),
                        Object.defineProperty(e.prototype, 'actor', {
                            get: function get() {
                                return this._actor;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'time', {
                            get: function get() {
                                return 0.001 * (this._runTime - s.TimeMrg.serverTime);
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (e.prototype.start = function() {
                            this._isInited || (this.init(), (this._isInited = !0)),
                                this._isRunning ||
                                (this.reset(),
                                    this.onStart(),
                                    (this._isRunning = !0),
                                    this.emit(r.Start, this));
                        }),
                        (e.prototype.stop = function() {
                            this._isRunning &&
                                (this.onStop(),
                                    (this._isRunning = !1),
                                    this.emit(r.Stop, this));
                        }),
                        (e.prototype.update = function(t) {
                            s.TimeMrg.serverTime,
                                this._isRunning &&
                                (this._runTime > s.TimeMrg.serverTime ?
                                    this.onUpdate(t) :
                                    (this.onFinish(), this.stop()));
                        }),
                        Object.defineProperty(e.prototype, 'isRunning', {
                            get: function get() {
                                return this._isRunning;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (e.prototype.onStart = function() {}),
                        (e.prototype.onStop = function() {}),
                        (e.prototype.onFinish = function() {}),
                        (e.prototype.onUpdate = function() {}),
                        Object.defineProperty(e.prototype, 'isValid', {
                            get: function get() {
                                return !!t.prototype.isValid && null != this._actor;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (e.prototype.onDestroy = function() {
                            this._isRunning && this.stop(),
                                (this._actor = null),
                                t.prototype.onDestroy.call(this);
                        }),
                        e
                    );
                })(a.AbsObject);
                (o.AbsBuff = c), console.log("end");
            module.exports =  e.exports;